<?php
namespace Admin\Model;

use Think\Model;

class AuthModel extends Model
{
	protected $_validate = array(

		array('auth_module','chk_require','模块必须',0,'callback'),
		
	);


	function chk_require($val){
		$rule = '/\S+/';
		if(!preg_match($rule,$val)){
            return false;
        }
	}

}





?>